<template>
	<view class="record_two">
		<main>
			<view>
				<img :src="$imgUrl + list.avatar"></img>
				<view>
					<view>
						<span>{{list.username}}</span>
						<image src="../../static/user/53.png"></image>
						{{list.shop_name}}
					</view>
					<p>{{list.goods_name}}</p>
				</view>
			</view>
			<p>{{list.create_time}}</p>
		</main>
		<view>
			<p><span>￥</span>{{list.amount}}</p>
			<span>{{list.remark}}</span>
		</view>
	</view>
</template>

<script>
	export default {
		name: "record_two",
		props:['list'],
		data() {
			return {

			};
		}
	}
</script>

<style lang="less">
	.record_two {
		width: 100%;
		height: 180rpx;
		background: #fff;
		border-radius: 10rpx;
		margin-bottom: 20rpx;
		padding: 0 32rpx 0 20rpx;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		align-items: center;
		&>main{
			&>view{
				display: flex;
				&>view{
					&>view{
						font-size: 11px;
						color: #666666;
						&>span{
							font-size: 15px;
							color: #333;
						}
						&>image{
							width: 20rpx;
							height: 20rpx;
							margin: 0 12rpx 0 26rpx;
						}
					}
					&>p{
						font-size: 13px;
						color: #6F6F6F;
					}
				}
				&>img{
					width: 108rpx;
					height: 108rpx;
					border-radius: 50%;
					margin-right: 26rpx;
				}
			}
			&>p{
				font-size: 12px;
				color: #9E9E9E;
				margin-top: 6rpx;
			}
		}
		&>view{
			display: flex;
			flex-direction: column;
			align-items: center;
			&>p{
				font-size: 20px;
				&>span{
					font-size: 12px;
				}
			}
			&>span{
				color: #9E9E9E;
				font-size: 15px;
			}
		}
	}
</style>